//
//  GameObject.h
//  GameProject
//
//  Created by Blair Trusler on 01/09/2011.
//  Copyright 2011 Blair Trusler. All rights reserved.
//

#import "GameHeader.h"

@interface GameObject : CCSprite {
    BOOL isActive;
    BOOL reactsToScreenBoundaries;
    GameObjectType gameObjectType;
}

@property (readwrite) BOOL isActive;
@property (readwrite) GameObjectType gameObjectType;

-(void)changeState:(CharacterStates)newState;

-(void)updateStateWithDeltaTime:(ccTime)deltaTime andListOfGameObjects:(CCArray *)listOfGameObjects;


-(CGRect)adjustedBoundingBox;

-(CCAnimation *)loadPlistForAnimationWithName:(NSString *)animationName andClassName:(NSString *)className;


@end
